package com.chen.spikemall.service;

import com.chen.spikemall.bean.CommonGoods;
import com.chen.spikemall.exception.NoInventoryException;

public interface GoodsService {

    void addGoods(CommonGoods commonGoods, int totalStoreCount);

    /**
     * 商品库存减1
     *
     * */
    void goodsStoreValueDecrease(String goodsNo) throws NoInventoryException;

}
